var initialstate = {
    tasklist: []
}

export default function reducer(state = initialstate, action) {
    if (action.type == 'ADD') {
        state.tasklist.push()
        console.log(state);
    }
    return state
}